// to indicate the user can swipe their finger instead
this.emit('show-login-hint', _("(or swipe finger)"));
} else if (serviceName == PASSWORD_SERVICE_NAME) {
- GLib.timeout_add(GLib.PRIORITY_DEFAULT,
- 10000,
- Lang.bind(this, function() {
this._queueMessage(info, 'login-dialog-message-info');
- }));
}
},
// users who haven't enrolled their fingerprint.
if (serviceName != PASSWORD_SERVICE_NAME)
return;
- GLib.timeout_add(GLib.PRIORITY_DEFAULT,
- 10000,
- Lang.bind(this, function() {
this._queueMessage(problem, 'login-dialog-message-warning');
- }));
},
_onInfoQuery: function(client, serviceName, question) {
if (serviceName != PASSWORD_SERVICE_NAME)
return;
- GLib.timeout_add(GLib.PRIORITY_DEFAULT,
- 10000,
- Lang.bind(this, function() {
this.emit('ask-question', serviceName, question, '');
- }));
},
_onSecretInfoQuery: function(client, serviceName, secretQuestion) {
if (serviceName != PASSWORD_SERVICE_NAME)
return;
- GLib.timeout_add(GLib.PRIORITY_DEFAULT,
- 10000,
- Lang.bind(this, function() {
this.emit('ask-question', serviceName, secretQuestion, '\u25cf');
- }));
},
_onReset: function() {